#!/bin/bash
rm -rf out.txt
for i in `seq 1 100`;
do
   ./reader $i &
done

for i in `seq 101 199`;
do
   ./writer $i test >> /dev/null&
done
./writer rmain >> out.txt
